import Axios from '../../Js/Ajax'
const Works = {
  // 创建个人作品
  createPersonWorks (params) {
    console.log('createPersonWorks params:', params)
    return Axios.post(`/auth/asset`, params)
  },
  // 获取个人作品列表
  getArtWorksList (params) {
    console.log('getArtWorksList params:', params)
    return Axios.get(`/auth/asset`, {params})
  },
  // 修改作品描述
  changeArtWorksDesc (params) {
    console.log('changeArtWorksDesc params:', params)
    return Axios.put(`/auth/asset`, params)
  }
}
export default Works
